package com.java.tutorials.spring.ProSpring4.ch3.constructorInjection.xml;

import com.java.tutorials.spring.ProSpring4.ch3.constructorInjection.MessageProvider;

public class ConfigurableMessageProvider implements MessageProvider {
    private String message;

    public ConfigurableMessageProvider(String message) {
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
